package com.fulihui.information.dal.dataobj;

import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;

import java.util.Date;


@Table
public class InfoUserVoteContent extends InfoUserVoteContentKey {
    @Column(name = "user_id", type = MySqlTypeConstant.VARCHAR, length = 32, isKey = true)
    private String userId;
    @Column(name = "content_id", type = MySqlTypeConstant.VARCHAR, length = 111)
    private String contentId;
    @Column(name = "vote_type", type = MySqlTypeConstant.VARCHAR, length = 111)
    private String voteType;
    @Column(name = "gmt_create", type = MySqlTypeConstant.DATETIME)
    private Date gmtCreate;

    public String getVoteType() {
        return voteType;
    }

    public void setVoteType(String voteType) {
        this.voteType = voteType == null ? null : voteType.trim();
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    @Override
    public String getContentId() {
        return contentId;
    }

    @Override
    public void setContentId(String contentId) {
        this.contentId = contentId;
    }

    @Override
    public String getUserId() {
        return userId;
    }

    @Override
    public void setUserId(String userId) {
        this.userId = userId;
    }
}